package com.ruoyi.pollution.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 污染物信息对象 BUS_PS_COD_POLLUTANT
 * 
 * @author ruoyi
 * @date 2025-09-18
 */
public class BusPsCodPollutant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 因子编号 */
    @Excel(name = "因子编号")
    private String pollutantcode;

    /** 因子名称 */
    @Excel(name = "因子名称")
    private String pollutantname;

    /** 因子类型编号 */
    @Excel(name = "因子类型编号")
    private String pollutanttypecode;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    /** 排放量单位 */
    @Excel(name = "排放量单位")
    private String flowunit;

    /** 排放量计算公式 */
    @Excel(name = "排放量计算公式")
    private String totalflowexp;

    /** 是否有折算值 */
    @Excel(name = "是否有折算值")
    private String iszs;

    /** 是否有负值 */
    @Excel(name = "是否有负值")
    private String isnegative;

    /** 是否使用 */
    @Excel(name = "是否使用")
    private String isused;

    /** 污染物是否有排放量0表示没有，1表示有 */
    @Excel(name = "污染物是否有排放量0表示没有，1表示有")
    private String isshowflow;

    /** 排序 */
    @Excel(name = "排序")
    private String codeorder;

    /** 保留小数位 */
    @Excel(name = "保留小数位")
    private String precision;

    public void setPollutantcode(String pollutantcode) 
    {
        this.pollutantcode = pollutantcode;
    }

    public String getPollutantcode() 
    {
        return pollutantcode;
    }

    public void setPollutantname(String pollutantname) 
    {
        this.pollutantname = pollutantname;
    }

    public String getPollutantname() 
    {
        return pollutantname;
    }

    public void setPollutanttypecode(String pollutanttypecode) 
    {
        this.pollutanttypecode = pollutanttypecode;
    }

    public String getPollutanttypecode() 
    {
        return pollutanttypecode;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setFlowunit(String flowunit) 
    {
        this.flowunit = flowunit;
    }

    public String getFlowunit() 
    {
        return flowunit;
    }

    public void setTotalflowexp(String totalflowexp) 
    {
        this.totalflowexp = totalflowexp;
    }

    public String getTotalflowexp() 
    {
        return totalflowexp;
    }

    public void setIszs(String iszs) 
    {
        this.iszs = iszs;
    }

    public String getIszs() 
    {
        return iszs;
    }

    public void setIsnegative(String isnegative) 
    {
        this.isnegative = isnegative;
    }

    public String getIsnegative() 
    {
        return isnegative;
    }

    public void setIsused(String isused) 
    {
        this.isused = isused;
    }

    public String getIsused() 
    {
        return isused;
    }

    public void setIsshowflow(String isshowflow) 
    {
        this.isshowflow = isshowflow;
    }

    public String getIsshowflow() 
    {
        return isshowflow;
    }

    public void setCodeorder(String codeorder) 
    {
        this.codeorder = codeorder;
    }

    public String getCodeorder() 
    {
        return codeorder;
    }

    public void setPrecision(String precision) 
    {
        this.precision = precision;
    }

    public String getPrecision() 
    {
        return precision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pollutantcode", getPollutantcode())
            .append("pollutantname", getPollutantname())
            .append("pollutanttypecode", getPollutanttypecode())
            .append("unit", getUnit())
            .append("flowunit", getFlowunit())
            .append("totalflowexp", getTotalflowexp())
            .append("iszs", getIszs())
            .append("isnegative", getIsnegative())
            .append("isused", getIsused())
            .append("isshowflow", getIsshowflow())
            .append("codeorder", getCodeorder())
            .append("precision", getPrecision())
            .toString();
    }
}
